// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 // dependencies { // implementation 'org.apache.commons:commons-lang3:3.12.0' // } DurationFormatUtils.formatDuration(millis, "**H:mm:ss**", true);